package com.jvm;

/**

 *************loadTestDynamicLoad************
 *************loadA************
 *************initialA************
 load Test

 */
public class TestDynamicLoad {
    static {
        System.out.println("*************loadTestDynamicLoad************");//1
    }

    public static void main(String[] args) {
        new A();
        System.out.println("load Test");
        B b = null;
    }
}
class A{
    static {
        System.out.println("*************loadA************");//2
    }
    public A(){
        System.out.println("*************initialA************");//3
    }
}
class B{
    static {
        System.out.println("*************loadB************");
    }
    B(){
        System.out.println("*************initialB************");
    }
}
